#pragma once
#include <boost/asio.hpp>
#include <memory.h>
#include <map>
#include <mutex>
using namespace std;
using boost::asio::ip::tcp;
class CServer
{
public:
	CServer(boost::asio::io_context& io_context, short port);
	~CServer();
private:
	void StartHttpAccept();
	boost::asio::io_context &_io_context;
	tcp::acceptor _acceptor;
};

